home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / polardrw / data.z / DrawOcxTestDoc.h < prev    next >
C/C++ Source or Header  |  1999-04-13  |  2KB  |  63 lines

  1. // DrawOcxTestDoc.h : interface of the CDrawOcxTestDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_DRAWOCXTESTDOC_H__53462E0F_D25F_11D2_B9D2_008048FD54E6__INCLUDED_)
  6. #define AFX_DRAWOCXTESTDOC_H__53462E0F_D25F_11D2_B9D2_008048FD54E6__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. #define WM_SAVEDOCUMENT    WM_USER + 1000
  13.  
  14. class CDrawOcxTestDoc : public CDocument
  15. {
  16. protected: // create from serialization only
  17.     CDrawOcxTestDoc();
  18.     DECLARE_DYNCREATE(CDrawOcxTestDoc)
  19.  
  20. // Attributes
  21. public:
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CDrawOcxTestDoc)
  29.     public:
  30.     virtual BOOL OnNewDocument();
  31.     virtual void Serialize(CArchive& ar);
  32.     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  33.     virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. public:
  38.     CString GetDocumentName();
  39.     virtual ~CDrawOcxTestDoc();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     CString m_strDocumentName;
  50.     //{{AFX_MSG(CDrawOcxTestDoc)
  51.         // NOTE - the ClassWizard will add and remove member functions here.
  52.         //    DO NOT EDIT what you see in these blocks of generated code !
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55. };
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58.  
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61.  
  62. #endif // !defined(AFX_DRAWOCXTESTDOC_H__53462E0F_D25F_11D2_B9D2_008048FD54E6__INCLUDED_)
  63.